// CriticalSecton.h: interface for the CCriticalSecton class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_CRITICALSECTON_H__80F12699_A009_4F17_A3A5_06F3A9AD51D1__INCLUDED_)
#define AFX_CRITICALSECTON_H__80F12699_A009_4F17_A3A5_06F3A9AD51D1__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CCriticalSecton  
{
// Interface
public:
	void Enter();
	void Leave();
// Construction/Destruction
public:
	CCriticalSecton();
	virtual ~CCriticalSecton();
// Data
private:
	CRITICAL_SECTION m_cs;
};

#endif // !defined(AFX_CRITICALSECTON_H__80F12699_A009_4F17_A3A5_06F3A9AD51D1__INCLUDED_)
